/*
 * XML Type:  XCriteriaInputType
 * Namespace: http://www.seedwill.com/xul/criteria
 * Java type: com.seedwill.xul.criteria.XCriteriaInputType
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.criteria;


/**
 * An XML XCriteriaInputType(@http://www.seedwill.com/xul/criteria).
 *
 * This is an atomic type that is a restriction of com.seedwill.xul.criteria.XCriteriaInputType.
 */
public interface XCriteriaInputType extends org.apache.xmlbeans.XmlString
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XCriteriaInputType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xcriteriainputtype9059type");
    
    org.apache.xmlbeans.StringEnumAbstractBase enumValue();
    void set(org.apache.xmlbeans.StringEnumAbstractBase e);
    
    static final Enum X_CHECK_BOX = Enum.forString("XCheckBox");
    static final Enum X_CHECK_BOX_LIST = Enum.forString("XCheckBoxList");
    static final Enum X_COMBO_BOX = Enum.forString("XComboBox");
    static final Enum X_DATE_PICKER = Enum.forString("XDatePicker");
    static final Enum X_DATETIME_FRAME = Enum.forString("XDatetimeFrame");
    static final Enum X_DATE_TIME_PICKER = Enum.forString("XDateTimePicker");
    static final Enum X_DIRECTORY = Enum.forString("XDirectory");
    static final Enum X_FILE = Enum.forString("XFile");
    static final Enum X_GRID = Enum.forString("XGrid");
    static final Enum X_HIDDEN = Enum.forString("XHidden");
    static final Enum X_LIST_BOX = Enum.forString("XListBox");
    static final Enum X_MASKED_TEXT_BOX = Enum.forString("XMaskedTextBox");
    static final Enum X_MONTH_CALENDAR = Enum.forString("XMonthCalendar");
    static final Enum X_NUMBERIC_UP_DOWN = Enum.forString("XNumbericUpDown");
    static final Enum X_NUMBER_RANGE = Enum.forString("XNumberRange");
    static final Enum X_PASSWORD = Enum.forString("XPassword");
    static final Enum X_PICTURE_BOX = Enum.forString("XPictureBox");
    static final Enum X_RADIO_BUTTON = Enum.forString("XRadioButton");
    static final Enum X_RADIO_BUTTON_GROUP = Enum.forString("XRadioButtonGroup");
    static final Enum X_RADIO_BUTTON_GROUP_YES_NO = Enum.forString("XRadioButtonGroupYesNo");
    static final Enum X_RICK_TEXT_BOX = Enum.forString("XRickTextBox");
    static final Enum X_SPINNER = Enum.forString("XSpinner");
    static final Enum X_TEXT_AREA = Enum.forString("XTextArea");
    static final Enum X_TEXT_BOX = Enum.forString("XTextBox");
    static final Enum X_TEXT_RANGE = Enum.forString("XTextRange");
    static final Enum X_TIME_PICKER = Enum.forString("XTimePicker");
    static final Enum X_TREE = Enum.forString("XTree");
    static final Enum X_INPUT = Enum.forString("XInput");
    
    static final int INT_X_CHECK_BOX = Enum.INT_X_CHECK_BOX;
    static final int INT_X_CHECK_BOX_LIST = Enum.INT_X_CHECK_BOX_LIST;
    static final int INT_X_COMBO_BOX = Enum.INT_X_COMBO_BOX;
    static final int INT_X_DATE_PICKER = Enum.INT_X_DATE_PICKER;
    static final int INT_X_DATETIME_FRAME = Enum.INT_X_DATETIME_FRAME;
    static final int INT_X_DATE_TIME_PICKER = Enum.INT_X_DATE_TIME_PICKER;
    static final int INT_X_DIRECTORY = Enum.INT_X_DIRECTORY;
    static final int INT_X_FILE = Enum.INT_X_FILE;
    static final int INT_X_GRID = Enum.INT_X_GRID;
    static final int INT_X_HIDDEN = Enum.INT_X_HIDDEN;
    static final int INT_X_LIST_BOX = Enum.INT_X_LIST_BOX;
    static final int INT_X_MASKED_TEXT_BOX = Enum.INT_X_MASKED_TEXT_BOX;
    static final int INT_X_MONTH_CALENDAR = Enum.INT_X_MONTH_CALENDAR;
    static final int INT_X_NUMBERIC_UP_DOWN = Enum.INT_X_NUMBERIC_UP_DOWN;
    static final int INT_X_NUMBER_RANGE = Enum.INT_X_NUMBER_RANGE;
    static final int INT_X_PASSWORD = Enum.INT_X_PASSWORD;
    static final int INT_X_PICTURE_BOX = Enum.INT_X_PICTURE_BOX;
    static final int INT_X_RADIO_BUTTON = Enum.INT_X_RADIO_BUTTON;
    static final int INT_X_RADIO_BUTTON_GROUP = Enum.INT_X_RADIO_BUTTON_GROUP;
    static final int INT_X_RADIO_BUTTON_GROUP_YES_NO = Enum.INT_X_RADIO_BUTTON_GROUP_YES_NO;
    static final int INT_X_RICK_TEXT_BOX = Enum.INT_X_RICK_TEXT_BOX;
    static final int INT_X_SPINNER = Enum.INT_X_SPINNER;
    static final int INT_X_TEXT_AREA = Enum.INT_X_TEXT_AREA;
    static final int INT_X_TEXT_BOX = Enum.INT_X_TEXT_BOX;
    static final int INT_X_TEXT_RANGE = Enum.INT_X_TEXT_RANGE;
    static final int INT_X_TIME_PICKER = Enum.INT_X_TIME_PICKER;
    static final int INT_X_TREE = Enum.INT_X_TREE;
    static final int INT_X_INPUT = Enum.INT_X_INPUT;
    
    /**
     * Enumeration value class for com.seedwill.xul.criteria.XCriteriaInputType.
     * These enum values can be used as follows:
     * <pre>
     * enum.toString(); // returns the string value of the enum
     * enum.intValue(); // returns an int value, useful for switches
     * // e.g., case Enum.INT_X_CHECK_BOX
     * Enum.forString(s); // returns the enum value for a string
     * Enum.forInt(i); // returns the enum value for an int
     * </pre>
     * Enumeration objects are immutable singleton objects that
     * can be compared using == object equality. They have no
     * public constructor. See the constants defined within this
     * class for all the valid values.
     */
    static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
    {
        /**
         * Returns the enum value for a string, or null if none.
         */
        public static Enum forString(java.lang.String s)
            { return (Enum)table.forString(s); }
        /**
         * Returns the enum value corresponding to an int, or null if none.
         */
        public static Enum forInt(int i)
            { return (Enum)table.forInt(i); }
        
        private Enum(java.lang.String s, int i)
            { super(s, i); }
        
        static final int INT_X_CHECK_BOX = 1;
        static final int INT_X_CHECK_BOX_LIST = 2;
        static final int INT_X_COMBO_BOX = 3;
        static final int INT_X_DATE_PICKER = 4;
        static final int INT_X_DATETIME_FRAME = 5;
        static final int INT_X_DATE_TIME_PICKER = 6;
        static final int INT_X_DIRECTORY = 7;
        static final int INT_X_FILE = 8;
        static final int INT_X_GRID = 9;
        static final int INT_X_HIDDEN = 10;
        static final int INT_X_LIST_BOX = 11;
        static final int INT_X_MASKED_TEXT_BOX = 12;
        static final int INT_X_MONTH_CALENDAR = 13;
        static final int INT_X_NUMBERIC_UP_DOWN = 14;
        static final int INT_X_NUMBER_RANGE = 15;
        static final int INT_X_PASSWORD = 16;
        static final int INT_X_PICTURE_BOX = 17;
        static final int INT_X_RADIO_BUTTON = 18;
        static final int INT_X_RADIO_BUTTON_GROUP = 19;
        static final int INT_X_RADIO_BUTTON_GROUP_YES_NO = 20;
        static final int INT_X_RICK_TEXT_BOX = 21;
        static final int INT_X_SPINNER = 22;
        static final int INT_X_TEXT_AREA = 23;
        static final int INT_X_TEXT_BOX = 24;
        static final int INT_X_TEXT_RANGE = 25;
        static final int INT_X_TIME_PICKER = 26;
        static final int INT_X_TREE = 27;
        static final int INT_X_INPUT = 28;
        
        public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
            new org.apache.xmlbeans.StringEnumAbstractBase.Table
        (
            new Enum[]
            {
                new Enum("XCheckBox", INT_X_CHECK_BOX),
                new Enum("XCheckBoxList", INT_X_CHECK_BOX_LIST),
                new Enum("XComboBox", INT_X_COMBO_BOX),
                new Enum("XDatePicker", INT_X_DATE_PICKER),
                new Enum("XDatetimeFrame", INT_X_DATETIME_FRAME),
                new Enum("XDateTimePicker", INT_X_DATE_TIME_PICKER),
                new Enum("XDirectory", INT_X_DIRECTORY),
                new Enum("XFile", INT_X_FILE),
                new Enum("XGrid", INT_X_GRID),
                new Enum("XHidden", INT_X_HIDDEN),
                new Enum("XListBox", INT_X_LIST_BOX),
                new Enum("XMaskedTextBox", INT_X_MASKED_TEXT_BOX),
                new Enum("XMonthCalendar", INT_X_MONTH_CALENDAR),
                new Enum("XNumbericUpDown", INT_X_NUMBERIC_UP_DOWN),
                new Enum("XNumberRange", INT_X_NUMBER_RANGE),
                new Enum("XPassword", INT_X_PASSWORD),
                new Enum("XPictureBox", INT_X_PICTURE_BOX),
                new Enum("XRadioButton", INT_X_RADIO_BUTTON),
                new Enum("XRadioButtonGroup", INT_X_RADIO_BUTTON_GROUP),
                new Enum("XRadioButtonGroupYesNo", INT_X_RADIO_BUTTON_GROUP_YES_NO),
                new Enum("XRickTextBox", INT_X_RICK_TEXT_BOX),
                new Enum("XSpinner", INT_X_SPINNER),
                new Enum("XTextArea", INT_X_TEXT_AREA),
                new Enum("XTextBox", INT_X_TEXT_BOX),
                new Enum("XTextRange", INT_X_TEXT_RANGE),
                new Enum("XTimePicker", INT_X_TIME_PICKER),
                new Enum("XTree", INT_X_TREE),
                new Enum("XInput", INT_X_INPUT),
            }
        );
        private static final long serialVersionUID = 1L;
        private java.lang.Object readResolve() { return forInt(intValue()); } 
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.criteria.XCriteriaInputType newValue(java.lang.Object obj) {
          return (com.seedwill.xul.criteria.XCriteriaInputType) type.newValue( obj ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType newInstance() {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.criteria.XCriteriaInputType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.criteria.XCriteriaInputType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
